﻿namespace Bilibili.Common.Untils
{
    public sealed class Dict
    {
        public const string MPD_TEMPLATE = @"<MPD xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" 
xmlns=""urn:mpeg:dash:schema:mpd:2011"" 
xsi:schemaLocation=""urn:mpeg:dash:schema:mpd:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd"" 
type=""static"" 
mediaPresentationDuration=""$Duration"" 
timeShiftBufferDepth=""PT1S"" minimumUpdatePeriod=""PT1H"" maxSegmentDuration=""PT3S"" minBufferTime=""PT1S"" 
profiles=""urn:mpeg:dash:profile:isoff-live:2011,urn:com:dashif:dash264"">
  <Period id=""1"" start=""PT0S"">
    <AdaptationSet group=""1"" mimeType=""audio/mp4"" segmentAlignment=""true"">
      <Representation id=""$AudioID"" bandwidth=""$AudioBandwidth"" codecs=""$AudioCodec"" >
        <SegmentTemplate duration=""$Length"" media=""$AudioUrl"" startNumber=""1""/>
      </Representation>
    </AdaptationSet>
    <AdaptationSet group=""2"" mimeType=""video/mp4""  segmentAlignment=""true"" startWithSAP=""1"">
      <Representation id=""$VideoID"" frameRate=""$VideoFrameRate"" bandwidth=""$VideoBandwidth"" codecs=""$VideoCodec"" width=""$VideoWidth"" height=""$VideoHeight"">
        <SegmentTemplate timescale=""1000"" duration=""$Length"" media=""$VideoUrl""  startNumber=""1""/>
      </Representation>
    </AdaptationSet>
  </Period>
</MPD>";
    }
}